|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.EntityIdentifier
org.jasig.portal.groups.CompositeEntityIdentifier
A composite key and type that uniquely identify a portal entity. The composite key contains a service name, which may be compound, and a native key, which is the key that identifies the entity in the local service.
Field Summary |
Fields inherited from interface org.jasig.portal.groups.IGroupConstants |
CHANNEL_CATEGORIES, CONTAINS, ENDS_WITH, EVERYONE, IS, NODE_SEPARATOR, PORTAL_ADMINISTRATORS, STARTS_WITH |
Constructor Summary | |
CompositeEntityIdentifier(java.lang.String entityKey,
java.lang.Class entityType)
|
Method Summary | |
java.lang.String |
getKey()
|
java.lang.String |
getLocalKey()
|
javax.naming.Name |
getServiceName()
If the composite key is either empty or has a single node, there is no service name. |
static javax.naming.Name |
newCompoundName()
Returns a new empty CompoundName |
static javax.naming.Name |
parseCompoundKey(java.lang.String key)
Returns a CompoundName parsed from key |
java.lang.String |
popNode()
|
javax.naming.Name |
pushNode(java.lang.String newNode)
|
void |
setCompositeKey(javax.naming.Name newCompositeKey)
|
void |
setServiceName(javax.naming.Name newServiceName)
|
java.lang.String |
toString()
Returns a String that represents the value of this object. |
Methods inherited from class org.jasig.portal.EntityIdentifier |
equals, getType, hashCode |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CompositeEntityIdentifier(java.lang.String entityKey, java.lang.Class entityType) throws GroupsException
entityKey
- java.lang.StringentityType
- java.lang.ClassMethod Detail |
public java.lang.String getKey()
getKey
in class EntityIdentifier
public java.lang.String getLocalKey()
public javax.naming.Name getServiceName()
public static javax.naming.Name newCompoundName() throws javax.naming.InvalidNameException
javax.naming.InvalidNameException
public java.lang.String popNode() throws javax.naming.InvalidNameException
javax.naming.InvalidNameException
public javax.naming.Name pushNode(java.lang.String newNode) throws javax.naming.InvalidNameException
javax.naming.InvalidNameException
public void setCompositeKey(javax.naming.Name newCompositeKey)
newCompositeKey
- javax.naming.Namepublic void setServiceName(javax.naming.Name newServiceName) throws javax.naming.InvalidNameException
newServiceName
- javax.naming.Name
javax.naming.InvalidNameException
public java.lang.String toString()
toString
in class EntityIdentifier
public static javax.naming.Name parseCompoundKey(java.lang.String key) throws javax.naming.NamingException
javax.naming.NamingException
|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |