|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | 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 | |
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 | |
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(Profile profile, Device d) 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[] |
getAccessibleUserServices(User user, Device device) Gets all valid and visible services contained in the folder. |
Service[] |
getAllUserServices(User user) Gets all services contained in the folder. |
Service[] |
getAllUserServices(User user, Device device) 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.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 int TYPEID
public static final java.lang.String TYPENAME
Method Detail |
public void addChild(Service service)
service
- a non null service to add.public Service[] getAccessibleUserServices(Profile profile)
profile
- to customize the view of the servicespublic Service[] getAccessibleUserServices(Profile profile, Device d)
profile
- to customize the view of the servicesd
- The device that's accessing the folder.public Service[] getAccessibleUserServices(User user)
user
- that invokes the call.public Service[] getAccessibleUserServices(User user, Device device)
user
- that invokes the call.device
- device that access the folderpublic Service[] getAllUserServices(User user)
user
- that invokes the call.public Service[] getAllUserServices(User user, Device device)
user
- that invokes the call.device
- that access the folder.public Service[] getChildren()
public Service[] getHiddenServices(Profile profile)
public java.lang.String getLanguage()
public Service getRenderer()
public Service getRendererInherit()
public RendererSelection getRendererSelection()
public int getSortRule()
public Service[] getValidUserServices(Profile profile)
profile
- to customize the view of the servicespublic Service[] getValidUserServices(User user)
user
- that invokes the call.public void removeChild(Service service)
service
- a non null service to remove.public void setLanguage(java.lang.String language)
language
- the new property valuepublic void setRenderer(Service renderer)
renderer
- the Service that renders the contents of the folder.public void setRendererSelection(RendererSelection value)
public void setSortRule(int rule)
rule
- The sorting rule
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |