psdi.common.role

Class UserDataRole

    • Constructor Detail

      • UserDataRole

        public UserDataRole()
    • Method Detail

      • evaluateCustomRole

        public MboRemote evaluateCustomRole(MaxRole roleMbo,
                                            MboRemote mbo)
                                     throws MXException,
                                            java.rmi.RemoteException
        Gets the PersonID for the user and then uses the role's Parameter attribute as the attribute to treat as a PersonID. If Parameter is null, the user's Person record is returned.
        Specified by:
        evaluateCustomRole in interface CustomRoleInterface
        Parameters:
        roleMbo - This is the role which has the custom class name.
        mbo - The current mbo.
        Returns:
        This method can return either a PersonRemote or PersonGroupRemote.
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.workflow.CustomRoleInterface#evaluateCustomRole(psdi.common.role.MaxRole)