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

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

public class WsRestAssignGrouperPrivilegesRequest
extends java.lang.Object
implements WsRequestBean

 Class with data about assigning privileges for a subject and group
 
 

Author:
mchyzer

Constructor Summary
WsRestAssignGrouperPrivilegesRequest()
           
 
Method Summary
 WsSubjectLookup getActAsSubjectLookup()
          who to act as if not the connecting user
 java.lang.String getAllowed()
          T or F as to whether this privilege is being assigned or removed
 java.lang.String getClientVersion()
          version of the client.
 java.lang.String getIncludeGroupDetail()
          T or F as for if group detail should be included
 java.lang.String getIncludeSubjectDetail()
          T|F, for if the extended subject information should be returned (anything more than just the id)
 WsParam[] getParams()
           
 java.lang.String[] getPrivilegeNames()
          (e.g.
 java.lang.String getPrivilegeType()
          privilegeType (e.g.
 java.lang.String getReplaceAllExisting()
          T to replace existing members, F or blank to just change assignments.
 java.lang.String[] getSubjectAttributeNames()
           
 java.lang.String getTxType()
           
 WsGroupLookup getWsGroupLookup()
          group to assign privilege
 WsStemLookup getWsStemLookup()
          stem to assign privilege
 WsSubjectLookup[] getWsSubjectLookups()
          subjects to assign to
 GrouperRestHttpMethod retrieveRestHttpMethod()
          see which http method this is supposed to be associated with, and override whatever was passed in
 void setActAsSubjectLookup(WsSubjectLookup actAsSubjectLookup1)
          who to act as if not the connecting user
 void setAllowed(java.lang.String allowed1)
          T or F as to whether this privilege is being assigned or removed
 void setClientVersion(java.lang.String clientVersion1)
           
 void setIncludeGroupDetail(java.lang.String includeGroupDetail1)
          T or F as for if group detail should be included
 void setIncludeSubjectDetail(java.lang.String includeSubjectDetail1)
          T|F, for if the extended subject information should be returned (anything more than just the id)
 void setParams(WsParam[] params1)
           
 void setPrivilegeNames(java.lang.String[] privilegeNames1)
          (e.g.
 void setPrivilegeType(java.lang.String privilegeType1)
          privilegeType (e.g.
 void setReplaceAllExisting(java.lang.String replaceAllExisting1)
           
 void setSubjectAttributeNames(java.lang.String[] subjectAttributeNames1)
           
 void setTxType(java.lang.String txType1)
           
 void setWsGroupLookup(WsGroupLookup wsGroupLookup1)
          group to assign privilege
 void setWsStemLookup(WsStemLookup wsStemLookup1)
          group to assign privilege
 void setWsSubjectLookups(WsSubjectLookup[] subjectLookups1)
          subjects to assign to
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WsRestAssignGrouperPrivilegesRequest

public WsRestAssignGrouperPrivilegesRequest()
Method Detail

toString

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

getReplaceAllExisting

public java.lang.String getReplaceAllExisting()
T to replace existing members, F or blank to just change assignments. Only for allowed T

Returns:
replace all existing

setReplaceAllExisting

public void setReplaceAllExisting(java.lang.String replaceAllExisting1)
Parameters:
replaceAllExisting1 -

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()

getWsGroupLookup

public WsGroupLookup getWsGroupLookup()
group to assign privilege

Returns:
group lookup

setWsGroupLookup

public void setWsGroupLookup(WsGroupLookup wsGroupLookup1)
group to assign privilege

Parameters:
wsGroupLookup1 -

getWsStemLookup

public WsStemLookup getWsStemLookup()
stem to assign privilege

Returns:
stem lookup

setWsStemLookup

public void setWsStemLookup(WsStemLookup wsStemLookup1)
group to assign privilege

Parameters:
wsStemLookup1 -

getClientVersion

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

Returns:
version

setClientVersion

public void setClientVersion(java.lang.String clientVersion1)
Parameters:
clientVersion1 -

getPrivilegeType

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

Returns:
type

setPrivilegeType

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

Parameters:
privilegeType1 -

getPrivilegeNames

public java.lang.String[] getPrivilegeNames()
(e.g. for groups: read, view, update, admin, optin, optout. e.g. for stems: stem, create)

Returns:
name

setPrivilegeNames

public void setPrivilegeNames(java.lang.String[] privilegeNames1)
(e.g. for groups: read, view, update, admin, optin, optout. e.g. for stems: stem, create)

Parameters:
privilegeNames1 -

getIncludeSubjectDetail

public java.lang.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(java.lang.String includeSubjectDetail1)
T|F, for if the extended subject information should be returned (anything more than just the id)

Parameters:
includeSubjectDetail1 -

getIncludeGroupDetail

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

Returns:
T of F

setIncludeGroupDetail

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

Parameters:
includeGroupDetail1 -

getAllowed

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

Returns:
allowed

setAllowed

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

Parameters:
allowed1 -

getWsSubjectLookups

public WsSubjectLookup[] getWsSubjectLookups()
subjects to assign to

Returns:
the subjectLookups

setWsSubjectLookups

public void setWsSubjectLookups(WsSubjectLookup[] subjectLookups1)
subjects to assign to

Parameters:
subjectLookups1 - the subjectLookups to set

getActAsSubjectLookup

public WsSubjectLookup getActAsSubjectLookup()
who to act as if not the connecting user

Returns:
the actAsSubjectLookup

setActAsSubjectLookup

public void setActAsSubjectLookup(WsSubjectLookup actAsSubjectLookup1)
who to act as if not the connecting user

Parameters:
actAsSubjectLookup1 - the actAsSubjectLookup to set

getSubjectAttributeNames

public java.lang.String[] getSubjectAttributeNames()
Returns:
the subjectAttributeNames

setSubjectAttributeNames

public void setSubjectAttributeNames(java.lang.String[] subjectAttributeNames1)
Parameters:
subjectAttributeNames1 - the subjectAttributeNames to set

getTxType

public java.lang.String getTxType()
Returns:
the txType

setTxType

public void setTxType(java.lang.String txType1)
Parameters:
txType1 - the txType to set

getParams

public WsParam[] getParams()
Returns:
the params

setParams

public void setParams(WsParam[] params1)
Parameters:
params1 - the params to set