tinlizard.model
Class Codeline

java.lang.Object
  extended by tinlizard.model.Codeline
All Implemented Interfaces:
Persistable

@Indexed
public final class Codeline
extends Object
implements Persistable

A Codeline is a branch.


Constructor Summary
Codeline()
           
 
Method Summary
 void add()
           
 boolean addDependency(Dependency dep)
           
 void delete()
           
 void deleteAllDependencies()
           
static Collection<Codeline> findAll()
           
static Collection<Codeline> findAllActive()
           
static Collection<String> findAllArtifactIds(String groupId)
           
 Collection<Codeline> findAllConsumers(boolean useVersion)
           
 Collection<Dependency> findAllDependencies()
           
static Collection<String> findAllGroupIds()
           
static Collection<Codeline> findByNameAndScmConnection(String name, String scmConnection)
           
static Collection<Codeline> findRecentlyModified(int daysAgo)
           
 String getArtifactId()
           
 Date getCreated()
           
 String getCreatedBy()
           
 String getDescription()
           
 String getGroupId()
           
 Integer getId()
           
 Date getLastModified()
           
 String getLastModifiedBy()
           
 Boolean getMainLine()
           
 String getName()
           
 User getOwner()
           
 Policy getPolicy()
           
 org.apache.maven.model.Model getPOM()
           
 Project getProject()
           
 String getScmConnection()
           
 String getVersion()
           
 View getView()
           
 void index()
           
static void indexAll()
           
 boolean isMainLine()
           
 void refresh()
           
static Collection<Codeline> search(String query)
           
 void setArtifactId(String artifactId)
           
 void setCreated(Date created)
           
 void setCreatedBy(String createdBy)
           
 void setDescription(String description)
           
 void setGroupId(String groupId)
           
 void setId(Integer id)
           
 void setLastModified(Date lastModified)
           
 void setLastModifiedBy(String lastModifiedBy)
           
 void setMainLine(Boolean mainLine)
           
 void setName(String name)
           
 void setOwner(User owner)
           
 void setPolicy(Policy policy)
           
 void setProject(Project project)
           
 void setScmConnection(String scmConnection)
           
 void setVersion(String version)
           
 void setView(View view)
           
 void update()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Codeline

public Codeline()
Method Detail

getId

public Integer getId()
Specified by:
getId in interface Persistable

getName

public String getName()
Specified by:
getName in interface Persistable

getCreated

public Date getCreated()
Specified by:
getCreated in interface Persistable

getCreatedBy

public String getCreatedBy()
Specified by:
getCreatedBy in interface Persistable

getLastModified

public Date getLastModified()
Specified by:
getLastModified in interface Persistable

getLastModifiedBy

public String getLastModifiedBy()
Specified by:
getLastModifiedBy in interface Persistable

setId

public void setId(Integer id)
Specified by:
setId in interface Persistable

setName

public void setName(String name)
Specified by:
setName in interface Persistable

setCreated

public void setCreated(Date created)
Specified by:
setCreated in interface Persistable

setCreatedBy

public void setCreatedBy(String createdBy)
Specified by:
setCreatedBy in interface Persistable

setLastModified

public void setLastModified(Date lastModified)
Specified by:
setLastModified in interface Persistable

setLastModifiedBy

public void setLastModifiedBy(String lastModifiedBy)
Specified by:
setLastModifiedBy in interface Persistable

getScmConnection

public String getScmConnection()

getGroupId

public String getGroupId()

getArtifactId

public String getArtifactId()

getVersion

public String getVersion()

getView

public View getView()

getProject

public Project getProject()

getOwner

public User getOwner()

getPolicy

public Policy getPolicy()

isMainLine

public boolean isMainLine()

getMainLine

public Boolean getMainLine()

getDescription

public String getDescription()

setScmConnection

public void setScmConnection(String scmConnection)

setGroupId

public void setGroupId(String groupId)

setArtifactId

public void setArtifactId(String artifactId)

setVersion

public void setVersion(String version)

setView

public void setView(View view)

setProject

public void setProject(Project project)

setOwner

public void setOwner(User owner)

setPolicy

public void setPolicy(Policy policy)

setMainLine

public void setMainLine(Boolean mainLine)

setDescription

public void setDescription(String description)

addDependency

public boolean addDependency(Dependency dep)

findAll

public static Collection<Codeline> findAll()

findAllActive

public static Collection<Codeline> findAllActive()

findRecentlyModified

public static Collection<Codeline> findRecentlyModified(int daysAgo)

findByNameAndScmConnection

public static Collection<Codeline> findByNameAndScmConnection(String name,
                                                              String scmConnection)

findAllConsumers

public Collection<Codeline> findAllConsumers(boolean useVersion)

add

public void add()

update

public void update()

index

public void index()

delete

public void delete()

deleteAllDependencies

public void deleteAllDependencies()

findAllDependencies

public Collection<Dependency> findAllDependencies()

refresh

public void refresh()

getPOM

public org.apache.maven.model.Model getPOM()

findAllGroupIds

public static Collection<String> findAllGroupIds()

findAllArtifactIds

public static Collection<String> findAllArtifactIds(String groupId)

search

public static Collection<Codeline> search(String query)

indexAll

public static void indexAll()


Copyright © 2009. All Rights Reserved.