tinlizard.model
Class View

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

@Indexed
public final class View
extends Object
implements Persistable

General collection of Codelines.


Constructor Summary
View()
           
View(String name, String description)
           
 
Method Summary
 void add()
           
 void delete()
           
static Collection<View> findAll()
           
static View findByName(String name)
           
 Collection<Codeline> getActiveCodelines()
           
 Collection<Codeline> getCodelines()
           
 Date getCreated()
           
 String getCreatedBy()
           
static View getDefaultView()
           
 String getDescription()
           
 Integer getId()
           
 Date getLastModified()
           
 String getLastModifiedBy()
           
 String getName()
           
 void index()
           
static void indexAll()
           
static Collection<View> search(String query)
           
 void setCreated(Date created)
           
 void setCreatedBy(String createdBy)
           
 void setDescription(String description)
           
 void setId(Integer id)
           
 void setLastModified(Date lastModified)
           
 void setLastModifiedBy(String lastModifiedBy)
           
 void setName(String name)
           
 void update()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

View

public View()

View

public View(String name,
            String description)
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

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getCodelines

public Collection<Codeline> getCodelines()

getActiveCodelines

public Collection<Codeline> getActiveCodelines()

add

public void add()

update

public void update()

index

public void index()

delete

public void delete()

findAll

public static Collection<View> findAll()

findByName

public static View findByName(String name)

getDefaultView

public static View getDefaultView()

search

public static Collection<View> search(String query)

indexAll

public static void indexAll()


Copyright © 2009. All Rights Reserved.