|
|||||||||
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.
Nested Class Summary | |
---|---|
static class |
EntityPublication.Attribute Enum that represents the sort fields (passed with control param). |
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. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEntityId() Getter for the the entity-id. |
java.lang.Long |
getEntityPublicationId() Returns the unique publication-id associated with this publication object. |
java.lang.String |
getEntityType() Getter for the entity-type represented by this publication object. |
java.lang.String |
getRootScopeId() . |
java.lang.String |
getRootScopeName() API to get the root scope name (name of organization where this publication is directly published). |
java.lang.String |
getScopeId() Getter for the scope(organization)-id for this publication. |
java.lang.String |
getScopeName() Returns the organization name of the scope that this publication represents |
java.lang.String |
getScopeType() The type of the oraganization/scope. |
int |
hashCode() |
boolean |
isHierarchicalScope() Getter for the hierarchy flag. |
void |
setEntityId(java.lang.String entityId) Method to set the the entity-id of the object(Role/app-instance/Entitlement) that this publication represents. |
void |
setEntityPublicationId(java.lang.Long entityPublicationId) Sets the unique publication-id for this publication. |
void |
setEntityType(java.lang.String entityType) The entity-type for this publication. |
void |
setHierarchicalScope(boolean hierarchicalScope) The flag to represent whether this publication is available to all the child organizations where this publication is directly published. |
void |
setScopeId(java.lang.String scopeId) Setter for the organization-id for this publication. |
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.Long scopeId, boolean hierarchicalScope)
entityId
-entityType
-scopeId
-hierarchicalScope
-Method Detail |
---|
public void setEntityPublicationId(java.lang.Long entityPublicationId)
entityPublicationId
-public java.lang.Long getEntityPublicationId()
public final void setEntityId(java.lang.String entityId)
entityId
-public final java.lang.String getEntityId()
public final void setEntityType(java.lang.String entityType)
entityType
- - The entity type.public final java.lang.String getEntityType()
public final void setScopeId(java.lang.String scopeId)
scopeId-
- The organization-id that this publication represents.public final java.lang.String getScopeId()
public final void setHierarchicalScope(boolean hierarchicalScope)
hierarchicalScope
-public final boolean isHierarchicalScope()
public final java.lang.String getRootScopeId()
public final java.lang.String getScopeName()
public final java.lang.String getScopeType()
public final java.lang.String getRootScopeName()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public 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 |