|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.iam.platform.authopss.vo.EntityPublication
public class EntityPublication
This class represents a scope in which an entity is published. An entity can be published in more than one scope. Use EntityPublicationManager to collate all publication of an entity. You can create an in-memory instance of this class and pass it to EntityPublicationManager to persist it. The logged-in user at the time should have appropriate privileges to perform operation. Persisted publications are used internally to make authorization decisions.
EntityPublicationService, AdminRoleMembership, Serialized Form| Nested Class Summary | |
|---|---|
static class |
EntityPublication.Attribute |
| Constructor Summary | |
|---|---|
EntityPublication()Default constructor. |
|
EntityPublication(java.lang.String entityId, PolicyConstants.Resources entityType, java.lang.Long scopeId, boolean hierarchicalScope)Alternate constructor that takes the values of scopeId correctly as Long. |
|
EntityPublication(java.lang.String entityId, PolicyConstants.Resources entityType, java.lang.String scopeId, boolean hierarchicalScope)Deprecated. - Use EntityPublication(String entityId, PolicyConstants.Resources entityType, Long scopeId ,boolean hierarchicalScope) instead |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEntityId()Convenience method to correctly resolve the entity-id. |
java.lang.Long |
getEntityIdAsLong()Returns the entity-id as Long. |
java.lang.Long |
getEntityPublicationId() |
java.lang.String |
getEntityType() |
PolicyConstants.Resources |
getEntityTypeAsEnum() |
java.lang.String |
getExtEntityId()For toplink mapping only. |
java.lang.String |
getRootScopeId() |
java.lang.Long |
getRootScopeIdAsLong()For toplink mapping only. |
java.lang.String |
getRootScopeName() |
java.lang.String |
getScopeId() |
java.lang.Long |
getScopeIdAsLong() |
java.lang.String |
getScopeName() |
java.lang.String |
getScopeType() |
int |
hashCode() |
boolean |
isHierarchicalScope() |
void |
setEntityId(java.lang.String entityId) |
void |
setEntityIdAsLong(java.lang.Long entityIdAsLong)The setter for the internal entity-id. |
void |
setEntityPublicationId(java.lang.Long entityPublicationId) |
void |
setEntityType(java.lang.String entityType) |
void |
setExtEntityId(java.lang.String extEntityId)For toplink mapping only. |
void |
setHierarchicalScope(boolean hierarchicalScope) |
void |
setRootScopeId(java.lang.String rootScopeId) |
void |
setRootScopeIdAsLong(java.lang.Long rootScopeIdAsLong)For toplink mapping only. |
void |
setRootScopeName(java.lang.String rootScopeName) |
void |
setScopeId(java.lang.String scopeId) |
void |
setScopeIdAsLong(java.lang.Long scopeIdAsLong) |
void |
setScopeName(java.lang.String scopeName) |
void |
setScopeType(java.lang.String scopeType) |
java.lang.String |
toString() |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EntityPublication()
public EntityPublication(java.lang.String entityId,
PolicyConstants.Resources entityType,
java.lang.String scopeId,
boolean hierarchicalScope)
entityId -entityType -scopeId -hierarchicalScope -
public EntityPublication(java.lang.String entityId,
PolicyConstants.Resources entityType,
java.lang.Long scopeId,
boolean hierarchicalScope)
entityId -entityType -scopeId -hierarchicalScope -| Method Detail |
|---|
public void setEntityPublicationId(java.lang.Long entityPublicationId)
public java.lang.Long getEntityPublicationId()
public final void setEntityId(java.lang.String entityId)
public final java.lang.String getEntityId()
public final void setEntityType(java.lang.String entityType)
public final java.lang.String getEntityType()
public final PolicyConstants.Resources getEntityTypeAsEnum()
public final void setScopeId(java.lang.String scopeId)
public final java.lang.String getScopeId()
public final void setHierarchicalScope(boolean hierarchicalScope)
public final boolean isHierarchicalScope()
public final java.lang.String getRootScopeId()
public final void setRootScopeId(java.lang.String rootScopeId)
rootScopeId - the rootScopeId to setpublic final java.lang.String getScopeName()
public final void setScopeName(java.lang.String scopeName)
scopeName - the scopeName to setpublic final java.lang.String getScopeType()
public final void setScopeType(java.lang.String scopeType)
scopeType - the scopeType to setpublic java.lang.Long getEntityIdAsLong()
public void setEntityIdAsLong(java.lang.Long entityIdAsLong)
public java.lang.Long getScopeIdAsLong()
public void setScopeIdAsLong(java.lang.Long scopeIdAsLong)
scopeIdAsLong - the scopeIdAsLong to setpublic java.lang.Long getRootScopeIdAsLong()
public void setRootScopeIdAsLong(java.lang.Long rootScopeIdAsLong)
rootScopeIdAsLong - the rootScopeIdAsLong to setpublic final java.lang.String getExtEntityId()
public final void setExtEntityId(java.lang.String extEntityId)
extEntityId - the extEntityId to setpublic final java.lang.String getRootScopeName()
public final void setRootScopeName(java.lang.String rootScopeName)
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||