|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.domain.Entity
ccc.domain.ResourceEntity
ccc.domain.Search
public class Search
A search that can return other results.
Constructor Summary | |
---|---|
protected |
Search()
Constructor: for persistence only. |
|
Search(java.lang.String title)
Constructor. |
Method Summary | |
---|---|
Resource |
forCurrentRevision()
Create a snapshot for the current revision. |
Resource |
forSpecificRevision(int revNo)
Create a snapshot for the specified revision. |
Resource |
forWorkingCopy()
Create a snapshot for the working copy. |
ResourceType |
getType()
Query the type of this resource. |
Methods inherited from class ccc.domain.Entity |
---|
equals, getId, getVersion, hashCode, setId, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected Search()
public Search(java.lang.String title)
title
- The title for this resource.Method Detail |
---|
public ResourceType getType()
getType
in class ResourceEntity
public final Resource forCurrentRevision()
public Resource forSpecificRevision(int revNo)
revNo
- The revision to create a snapshot for.
public Resource forWorkingCopy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |