|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Folder is just like a directory in a file system and contains other services including other sub-folders. The model for a Folder is following the "standardized" composite pattern, where the Folder is just an aggregate of other services.
Field Summary |
Type | Field |
---|---|
static int |
TYPEID
The type id of this class. |
static java.lang.String |
TYPENAME
The constant class type identifier. |
Fields inherited from interface oracle.panama.model.Service |
CATEGORY_MASTER, CATEGORY_SERVICE, CATEGORY_USER_HOME |
Method Summary |
Type | Method |
---|---|
void |
addChild(Service service)
Add a service to this folder. |
Service[] |
getAccessibleUserServices(Profile profile)
Gets all valid and visible services contained in the folder. |
Service[] |
getAccessibleUserServices(User user)
Gets all valid and visible services contained in the folder. |
Service[] |
getAllUserServices(User user)
Gets all services contained in the folder. |
Service[] |
getChildren()
Gets all Services (including invalid and invisible services) contained by this Folder, independently of any user. |
Service[] |
getHiddenServices(Profile profile)
Get the hidden services. |
java.lang.String |
getLanguage()
Gets the language property value. |
Service |
getRenderer()
Get the rendering service of this folder. |
Service |
getRendererInherit()
Get the rendering service of this folder, inherit from the parent folders if specified by renderer selection. |
RendererSelection |
getRendererSelection()
Get the renderer selection rule |
int |
getSortRule()
Get the default sorting rule to be applied to the contents of the folder. |
Service[] |
getValidUserServices(Profile profile)
Gets all valid services contained in the folder. |
Service[] |
getValidUserServices(User user)
Gets all valid services contained in the folder. |
void |
removeChild(Service service)
Remove a service from this folder. |
void |
setLanguage(java.lang.String language)
Sets the language property value. |
void |
setRenderer(Service renderer)
Set the rendering service of the folder |
void |
setRendererSelection(RendererSelection value)
Set the boolean value to allow the folder to inherit the renderer from the parent folder. |
void |
setSortRule(int rule)
Set the default sorting rule to be applied to the contents of the folder. |
Methods inherited from interface oracle.panama.model.Service |
getAreaId, getCategory, getCost, getDescription,
getGroups, getParent, getPrimaryAudio, getPrimaryImage,
getSecondaryAudio, getSecondaryImage, getSequenceNo,
getShortName, getTransformer, getURL,
getURLPathParameter, getUserOwner, invoke,
isValid, isViewCustomizable, isVisible, removeAllGroups,
setAreaId, setCategory, setCost, setDescription,
setGroups, setParent, setPrimaryAudio,
setPrimaryImage, setSecondaryAudio, setSecondaryImage,
setSequenceNo, setShortName, setUserOwner,
setValid, setViewCustomizable, setVisible |
Methods inherited from interface oracle.panama.model.ModelObject |
delete, getCreatedDate, getId, getLastModifiedDate, getName, getTypeId,
getTypeName, isSystem, setName,
setSystem, undoAll |
Methods inherited from interface oracle.panama.model.XMLObject |
setXML, toXML |
Field Detail |
public static final java.lang.String TYPENAME
public static final int TYPEID
Method Detail |
public java.lang.String getLanguage()
public void setLanguage(java.lang.String language)
language
- the new property valuepublic void addChild(Service service)
service
- a non null service to add.public void removeChild(Service service)
service
- a non null service to remove.public Service[] getChildren()
public Service[] getAllUserServices(User user)
user
- that invokes the call.public Service[] getValidUserServices(User user)
user
- that invokes the call.public Service[] getAccessibleUserServices(User user)
user
- that invokes the call.public Service[] getValidUserServices(Profile profile)
profile
- to customize the view of the servicespublic Service[] getAccessibleUserServices(Profile profile)
profile
- to customize the view of the servicespublic Service[] getHiddenServices(Profile profile)
public int getSortRule()
public void setSortRule(int rule)
rule
- The sorting rulepublic Service getRenderer()
public void setRenderer(Service renderer)
renderer
- the Service that renders the contents of the folder.public Service getRendererInherit()
public void setRendererSelection(RendererSelection value)
public RendererSelection getRendererSelection()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |