edu.internet2.middleware.grouper.ws.rest.group
Class WsRestAssignGrouperPrivilegesLiteRequest

java.lang.Object
  extended by edu.internet2.middleware.grouper.ws.rest.group.WsRestAssignGrouperPrivilegesLiteRequest
All Implemented Interfaces:
WsRequestBean

public class WsRestAssignGrouperPrivilegesLiteRequest
extends Object
implements WsRequestBean

 Class with data about assigning privileges for a subject and group
 
 

Author:
mchyzer

Constructor Summary
WsRestAssignGrouperPrivilegesLiteRequest()
           
 
Method Summary
 String getActAsSubjectId()
          optional: is the subject id of subject to act as (if proxying).
 String getActAsSubjectIdentifier()
          optional: is the subject identifier of subject to act as (if proxying).
 String getActAsSubjectSourceId()
          is source of act as subject to narrow the result and prevent duplicates
 String getAllowed()
          T or F as to whether this privilege is being assigned or removed
 String getClientVersion()
          version of the client.
 String getGroupName()
          if this is a group privilege.
 String getGroupUuid()
          if this is a group privilege.
 String getIncludeGroupDetail()
          T or F as for if group detail should be included
 String getIncludeSubjectDetail()
          T|F, for if the extended subject information should be returned (anything more than just the id)
 String getParamName0()
          reserved for future use
 String getParamName1()
          reserved for future use
 String getParamValue0()
          reserved for future use
 String getParamValue1()
          reserved for future use
 String getPrivilegeName()
          (e.g.
 String getPrivilegeType()
          privilegeType (e.g.
 String getStemName()
          if this is a stem privilege.
 String getStemUuid()
          if this is a stem privilege.
 String getSubjectAttributeNames()
          additional subject attributes (data) to return.
 String getSubjectId()
          subject id of subject to search for privileges.
 String getSubjectIdentifier()
          subject identifier of subject.
 String getSubjectSourceId()
          source id of subject object (optional)
 GrouperRestHttpMethod retrieveRestHttpMethod()
          see which http method this is supposed to be associated with, and override whatever was passed in
 void setActAsSubjectId(String actAsSubjectId1)
          optional: is the subject id of subject to act as (if proxying).
 void setActAsSubjectIdentifier(String actAsSubjectIdentifier1)
          optional: is the subject identifier of subject to act as (if proxying).
 void setActAsSubjectSourceId(String actAsSubjectSourceId1)
          is source of act as subject to narrow the result and prevent duplicates
 void setAllowed(String allowed1)
          T or F as to whether this privilege is being assigned or removed
 void setClientVersion(String clientVersion1)
           
 void setGroupName(String groupName1)
          if this is a group privilege.
 void setGroupUuid(String groupUuid1)
          if this is a group privilege.
 void setIncludeGroupDetail(String includeGroupDetail1)
          T or F as for if group detail should be included
 void setIncludeSubjectDetail(String includeSubjectDetail1)
          T|F, for if the extended subject information should be returned (anything more than just the id)
 void setParamName0(String _paramName0)
          reserved for future use
 void setParamName1(String _paramName1)
          reserved for future use
 void setParamValue0(String _paramValue0)
          reserved for future use
 void setParamValue1(String _paramValue1)
          reserved for future use
 void setPrivilegeName(String privilegeName1)
          (e.g.
 void setPrivilegeType(String privilegeType1)
          privilegeType (e.g.
 void setStemName(String stemName1)
          if this is a stem privilege.
 void setStemUuid(String stemUuid1)
          if this is a stem privilege.
 void setSubjectAttributeNames(String subjectAttributeNames1)
          additional subject attributes (data) to return.
 void setSubjectId(String subjectId1)
          subject id of subject to search for privileges.
 void setSubjectIdentifier(String subjectIdentifier1)
          subject identifier of subject.
 void setSubjectSourceId(String subjectSourceId1)
          source id of subject object (optional)
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WsRestAssignGrouperPrivilegesLiteRequest

public WsRestAssignGrouperPrivilegesLiteRequest()
Method Detail

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()

retrieveRestHttpMethod

public GrouperRestHttpMethod retrieveRestHttpMethod()
Description copied from interface: WsRequestBean
see which http method this is supposed to be associated with, and override whatever was passed in

Specified by:
retrieveRestHttpMethod in interface WsRequestBean
Returns:
the method
See Also:
WsRequestBean.retrieveRestHttpMethod()

getClientVersion

public String getClientVersion()
version of the client. Must be in GrouperWsVersion, e.g. v1_3_000

Returns:
version

setClientVersion

public void setClientVersion(String clientVersion1)
Parameters:
clientVersion1 -

getSubjectId

public String getSubjectId()
subject id of subject to search for privileges. Mutually exclusive with subjectIdentifier

Returns:
subjectid

setSubjectId

public void setSubjectId(String subjectId1)
subject id of subject to search for privileges. Mutually exclusive with subjectIdentifier

Parameters:
subjectId1 -

getSubjectSourceId

public String getSubjectSourceId()
source id of subject object (optional)

Returns:
source id

setSubjectSourceId

public void setSubjectSourceId(String subjectSourceId1)
source id of subject object (optional)

Parameters:
subjectSourceId1 -

getSubjectIdentifier

public String getSubjectIdentifier()
subject identifier of subject. Mutuallyexclusive with subjectId

Returns:
id

setSubjectIdentifier

public void setSubjectIdentifier(String subjectIdentifier1)
subject identifier of subject. Mutuallyexclusive with subjectId

Parameters:
subjectIdentifier1 -

getGroupName

public String getGroupName()
if this is a group privilege. mutually exclusive with groupUuid

Returns:
name

setGroupName

public void setGroupName(String groupName1)
if this is a group privilege. mutually exclusive with groupUuid

Parameters:
groupName1 -

getGroupUuid

public String getGroupUuid()
if this is a group privilege. mutually exclusive with groupName

Returns:
uuid

setGroupUuid

public void setGroupUuid(String groupUuid1)
if this is a group privilege. mutually exclusive with groupName

Parameters:
groupUuid1 -

getStemName

public String getStemName()
if this is a stem privilege. mutually exclusive with stemUuid

Returns:
name

setStemName

public void setStemName(String stemName1)
if this is a stem privilege. mutually exclusive with stemUuid

Parameters:
stemName1 -

getStemUuid

public String getStemUuid()
if this is a stem privilege. mutually exclusive with stemName

Returns:
stem uuid

setStemUuid

public void setStemUuid(String stemUuid1)
if this is a stem privilege. mutually exclusive with stemName

Parameters:
stemUuid1 -

getPrivilegeType

public String getPrivilegeType()
privilegeType (e.g. "access" for groups and "naming" for stems)

Returns:
type

setPrivilegeType

public void setPrivilegeType(String privilegeType1)
privilegeType (e.g. "access" for groups and "naming" for stems)

Parameters:
privilegeType1 -

getPrivilegeName

public String getPrivilegeName()
(e.g. for groups: read, view, update, admin, optin, optout. e.g. for stems: stem, create)

Returns:
name

setPrivilegeName

public void setPrivilegeName(String privilegeName1)
(e.g. for groups: read, view, update, admin, optin, optout. e.g. for stems: stem, create)

Parameters:
privilegeName1 -

getActAsSubjectId

public String getActAsSubjectId()
optional: is the subject id of subject to act as (if proxying). Only pass one of actAsSubjectId or actAsSubjectIdentifer

Returns:
id

setActAsSubjectId

public void setActAsSubjectId(String actAsSubjectId1)
optional: is the subject id of subject to act as (if proxying). Only pass one of actAsSubjectId or actAsSubjectIdentifer

Parameters:
actAsSubjectId1 -

getActAsSubjectSourceId

public String getActAsSubjectSourceId()
is source of act as subject to narrow the result and prevent duplicates

Returns:
id

setActAsSubjectSourceId

public void setActAsSubjectSourceId(String actAsSubjectSourceId1)
is source of act as subject to narrow the result and prevent duplicates

Parameters:
actAsSubjectSourceId1 -

getActAsSubjectIdentifier

public String getActAsSubjectIdentifier()
optional: is the subject identifier of subject to act as (if proxying). Only pass one of actAsSubjectId or actAsSubjectIdentifer

Returns:
id

setActAsSubjectIdentifier

public void setActAsSubjectIdentifier(String actAsSubjectIdentifier1)
optional: is the subject identifier of subject to act as (if proxying). Only pass one of actAsSubjectId or actAsSubjectIdentifer

Parameters:
actAsSubjectIdentifier1 -

getIncludeSubjectDetail

public String getIncludeSubjectDetail()
T|F, for if the extended subject information should be returned (anything more than just the id)

Returns:
include detail

setIncludeSubjectDetail

public void setIncludeSubjectDetail(String includeSubjectDetail1)
T|F, for if the extended subject information should be returned (anything more than just the id)

Parameters:
includeSubjectDetail1 -

getSubjectAttributeNames

public String getSubjectAttributeNames()
additional subject attributes (data) to return. If blank, whatever is configured in the grouper-ws.properties will be sent (comma separated)

Returns:
names to return

setSubjectAttributeNames

public void setSubjectAttributeNames(String subjectAttributeNames1)
additional subject attributes (data) to return. If blank, whatever is configured in the grouper-ws.properties will be sent (comma separated)

Parameters:
subjectAttributeNames1 -

getIncludeGroupDetail

public String getIncludeGroupDetail()
T or F as for if group detail should be included

Returns:
T of F

setIncludeGroupDetail

public void setIncludeGroupDetail(String includeGroupDetail1)
T or F as for if group detail should be included

Parameters:
includeGroupDetail1 -

getParamName0

public String getParamName0()
reserved for future use

Returns:
param

setParamName0

public void setParamName0(String _paramName0)
reserved for future use

Parameters:
_paramName0 -

getParamValue0

public String getParamValue0()
reserved for future use

Returns:
param

setParamValue0

public void setParamValue0(String _paramValue0)
reserved for future use

Parameters:
_paramValue0 -

getParamName1

public String getParamName1()
reserved for future use

Returns:
param

setParamName1

public void setParamName1(String _paramName1)
reserved for future use

Parameters:
_paramName1 -

getParamValue1

public String getParamValue1()
reserved for future use

Returns:
param

setParamValue1

public void setParamValue1(String _paramValue1)
reserved for future use

Parameters:
_paramValue1 -

getAllowed

public String getAllowed()
T or F as to whether this privilege is being assigned or removed

Returns:

setAllowed

public void setAllowed(String allowed1)
T or F as to whether this privilege is being assigned or removed

Parameters:
allowed1 -