com.softwareag.mdm.service
Interface SessionPermissions


public interface SessionPermissions

Defines a facade for checking user's session permissions (access rights or actions) on branches, adaptations and nodes (tables, ...).

See Also:
AccessPermission, ActionPermission

Method Summary
 AccessPermission getAdaptationAccessPermission(Adaptation anAdaptation)
          Returns the current user's access right on the adaptation instance or occurrence specified.
 AccessPermission getHomeAccessPermission(AdaptationHome aHome)
          Returns the current user's access right on the home specified.
 ActionPermission getHomeActionPermissionToChangeOwner(AdaptationHome aHome)
          Current user's action permission for changing the owner of the home specified.
 ActionPermission getHomeActionPermissionToChangePermission(AdaptationHome aHome)
          Current user's action permission for changing permissions of the home specified.
 ActionPermission getHomeActionPermissionToCloseHome(AdaptationHome aHome)
          Current user's action permission for closing the home specified.
 ActionPermission getHomeActionPermissionToCreateChildBranch(AdaptationHome aHome)
          Current user's action permission for creating child branches on the home specified.
 ActionPermission getHomeActionPermissionToCreateChildVersion(AdaptationHome aHome)
          Current user's action permission for creating child versions on the home specified.
 ActionPermission getHomeActionPermissionToExportArchive(AdaptationHome aHome)
          Current user's action permission for archive export of the home specified.
 ActionPermission getHomeActionPermissionToImportArchive(AdaptationHome aHome)
          Current user's action permission for archive import on the home specified.
 ActionPermission getHomeActionPermissionToInitializeMerge(AdaptationHome aHome)
          Current user's action permission for merging the home specified.
 ActionPermission getHomeActionPermissionToLockHome(AdaptationHome aHome)
          Current user's action permission for locking the home specified.
 ActionPermission getHomeActionPermissionToUnlockHome(AdaptationHome aHome)
          Current user's action permission for unlocking the home specified.
 ActionPermission getInstanceActionPermissionToCreateChild(Adaptation anInstance)
          Current user's action permission for creating child instances of the adaptation instance specified.
 ActionPermission getInstanceActionPermissionToCreateDuplicate(Adaptation anInstance)
          Current user's action permission for duplicating the adaptation instance specified.
 ActionPermission getInstanceActionPermissionToManageAgreement(Adaptation anInstance)
          Current user's action permission for managing agreements of the adaptation instance specified.
 AccessPermission getNodeAccessPermission(SchemaNode aNode, Adaptation anAdaptation)
          Returns the current user's access right on the node specified.
 ActionPermission getOccurrenceActionPermissionToCreate(AdaptationTable aTable)
          Current user's action permission for creating a table record on the adaptation table specified.
 ActionPermission getOccurrenceActionPermissionToDelete(Adaptation occurrence, AdaptationTable aTable)
          Current user's action permission for deleting the table record specified.
 ActionPermission getOccurrenceActionPermissionToDerive(Adaptation occurrence, AdaptationTable aTable)
          Current user's action permission for deriving the table record specified.
 ActionPermission getOccurrenceActionPermissionToOccult(Adaptation occurrence, AdaptationTable aTable)
          Current user's action permission for occulting the table record specified.
 ActionPermission getOccurrenceActionPermissionToOverwrite(Adaptation occurrence, AdaptationTable aTable)
          Current user's action permission for overwritting the table record specified.
 Session getSession()
           
 boolean isHomeOwner(AdaptationHome aHome)
           
 

Method Detail

getSession

public Session getSession()

getHomeAccessPermission

public AccessPermission getHomeAccessPermission(AdaptationHome aHome)
Returns the current user's access right on the home specified.


getAdaptationAccessPermission

public AccessPermission getAdaptationAccessPermission(Adaptation anAdaptation)
Returns the current user's access right on the adaptation instance or occurrence specified.


getNodeAccessPermission

public AccessPermission getNodeAccessPermission(SchemaNode aNode,
                                                Adaptation anAdaptation)
Returns the current user's access right on the node specified.


getHomeActionPermissionToCreateChildBranch

public ActionPermission getHomeActionPermissionToCreateChildBranch(AdaptationHome aHome)
Current user's action permission for creating child branches on the home specified.


getHomeActionPermissionToCreateChildVersion

public ActionPermission getHomeActionPermissionToCreateChildVersion(AdaptationHome aHome)
Current user's action permission for creating child versions on the home specified.


getHomeActionPermissionToInitializeMerge

public ActionPermission getHomeActionPermissionToInitializeMerge(AdaptationHome aHome)
Current user's action permission for merging the home specified.


getHomeActionPermissionToExportArchive

public ActionPermission getHomeActionPermissionToExportArchive(AdaptationHome aHome)
Current user's action permission for archive export of the home specified.


getHomeActionPermissionToImportArchive

public ActionPermission getHomeActionPermissionToImportArchive(AdaptationHome aHome)
Current user's action permission for archive import on the home specified.


getHomeActionPermissionToCloseHome

public ActionPermission getHomeActionPermissionToCloseHome(AdaptationHome aHome)
Current user's action permission for closing the home specified.


isHomeOwner

public boolean isHomeOwner(AdaptationHome aHome)

getHomeActionPermissionToLockHome

public ActionPermission getHomeActionPermissionToLockHome(AdaptationHome aHome)
Current user's action permission for locking the home specified.


getHomeActionPermissionToUnlockHome

public ActionPermission getHomeActionPermissionToUnlockHome(AdaptationHome aHome)
Current user's action permission for unlocking the home specified.


getHomeActionPermissionToChangeOwner

public ActionPermission getHomeActionPermissionToChangeOwner(AdaptationHome aHome)
Current user's action permission for changing the owner of the home specified.


getHomeActionPermissionToChangePermission

public ActionPermission getHomeActionPermissionToChangePermission(AdaptationHome aHome)
Current user's action permission for changing permissions of the home specified.


getInstanceActionPermissionToCreateChild

public ActionPermission getInstanceActionPermissionToCreateChild(Adaptation anInstance)
Current user's action permission for creating child instances of the adaptation instance specified.


getInstanceActionPermissionToManageAgreement

public ActionPermission getInstanceActionPermissionToManageAgreement(Adaptation anInstance)
Current user's action permission for managing agreements of the adaptation instance specified.


getInstanceActionPermissionToCreateDuplicate

public ActionPermission getInstanceActionPermissionToCreateDuplicate(Adaptation anInstance)
Current user's action permission for duplicating the adaptation instance specified.


getOccurrenceActionPermissionToCreate

public ActionPermission getOccurrenceActionPermissionToCreate(AdaptationTable aTable)
Current user's action permission for creating a table record on the adaptation table specified.


getOccurrenceActionPermissionToOverwrite

public ActionPermission getOccurrenceActionPermissionToOverwrite(Adaptation occurrence,
                                                                 AdaptationTable aTable)

Current user's action permission for overwritting the table record specified.

Returns null if the adaptation is an instance.


getOccurrenceActionPermissionToOccult

public ActionPermission getOccurrenceActionPermissionToOccult(Adaptation occurrence,
                                                              AdaptationTable aTable)

Current user's action permission for occulting the table record specified.

Returns null if the adaptation is an instance.


getOccurrenceActionPermissionToDerive

public ActionPermission getOccurrenceActionPermissionToDerive(Adaptation occurrence,
                                                              AdaptationTable aTable)

Current user's action permission for deriving the table record specified.

Returns null if the adaptation is an instance.


getOccurrenceActionPermissionToDelete

public ActionPermission getOccurrenceActionPermissionToDelete(Adaptation occurrence,
                                                              AdaptationTable aTable)

Current user's action permission for deleting the table record specified.

Returns null if the adaptation is an instance.



(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.