|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PortalObjectContainer
A container for portal object.
| Method Summary | ||
|---|---|---|
Context |
createContext(java.lang.String namespace)
|
|
AuthorizationDomain |
getAuthorizationDomain()
Get the authorization domain. |
|
Context |
getContext()
Returns the default root object. |
|
Context |
getContext(java.lang.String namespace)
|
|
PortalObject |
getObject(PortalObjectId id)
Returns a portal object or null if it cannot be found. |
|
|
getObject(PortalObjectId id,
java.lang.Class<T> expectedType)
Returns the portal object of the specified type identified with the specified identified or null if
it cannot be found. |
|
| Method Detail |
|---|
PortalObject getObject(PortalObjectId id)
throws java.lang.IllegalArgumentException
id - the portal object id
java.lang.IllegalArgumentException - if the id is null
<T extends PortalObject> T getObject(PortalObjectId id,
java.lang.Class<T> expectedType)
throws java.lang.IllegalArgumentException
null if
it cannot be found.
T - a class extending PortalObjectid - the portal object identifierexpectedType - the expected type of the object to be retrieved
null if it cannot be found
java.lang.IllegalArgumentException - if the specified id or the specified class is nullContext getContext()
Context getContext(java.lang.String namespace)
Context createContext(java.lang.String namespace)
throws DuplicatePortalObjectException
DuplicatePortalObjectExceptionAuthorizationDomain getAuthorizationDomain()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||