public class WsAssignAttributeLogic
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Log |
LOG
logger
|
Constructor and Description |
---|
WsAssignAttributeLogic() |
Modifier and Type | Method and Description |
---|---|
static void |
assignAttributesHelper(AttributeAssignType attributeAssignType,
WsAttributeDefNameLookup[] wsAttributeDefNameLookups,
AttributeAssignOperation attributeAssignOperation,
WsAttributeAssignValue[] values,
java.lang.String assignmentNotes,
java.sql.Timestamp assignmentEnabledTime,
java.sql.Timestamp assignmentDisabledTime,
AttributeAssignDelegatable delegatable,
AttributeAssignValueOperation attributeAssignValueOperation,
WsAttributeAssignLookup[] wsAttributeAssignLookups,
WsGroupLookup[] wsOwnerGroupLookups,
WsStemLookup[] wsOwnerStemLookups,
WsSubjectLookup[] wsOwnerSubjectLookups,
WsMembershipLookup[] wsOwnerMembershipLookups,
WsMembershipAnyLookup[] wsOwnerMembershipAnyLookups,
WsAttributeDefLookup[] wsOwnerAttributeDefLookups,
WsAttributeAssignLookup[] wsOwnerAttributeAssignLookups,
java.lang.String[] actions,
boolean includeSubjectDetail,
java.lang.String[] subjectAttributeNames,
boolean includeGroupDetail,
WsAssignAttributesResults wsAssignAttributesResults,
GrouperSession session,
WsParam[] params,
TypeOfGroup typeOfGroup,
AttributeDefType attributeDefType,
WsAttributeDefLookup[] attributeDefsToReplace,
java.lang.String[] actionsToReplace,
java.lang.String[] attributeDefTypesToReplace,
java.lang.Boolean disallowed,
boolean tallyResults,
java.lang.String[] backReferenceAttributeAssignIds)
helper method for assigning attributes
|
static void |
assignmentMetadataAndValues(WsAssignAttributeResult wsAssignAttributeResult,
AttributeAssign attributeAssign,
WsAttributeAssignValue[] values,
java.lang.String assignmentNotes,
java.sql.Timestamp assignmentEnabledTime,
java.sql.Timestamp assignmentDisabledTime,
AttributeAssignDelegatable delegatable,
AttributeAssignValueOperation attributeAssignValueOperation)
deal with metadata on assignment and values and indicate in the result if changed
(will set to T, or leave alone)
|
static WsAttributeDefLookup[] |
retrieveAttributeDefsForReplace(java.lang.String wsAttributeDefNameName,
java.lang.String wsAttributeDefNameId,
AttributeAssignOperation attributeAssignOperation) |
static java.lang.String[] |
retrieveAttributeDefTypesForReplace(java.lang.String wsAttributeDefNameName,
java.lang.String wsAttributeDefNameId,
AttributeAssignOperation attributeAssignOperation) |
public static void assignmentMetadataAndValues(WsAssignAttributeResult wsAssignAttributeResult, AttributeAssign attributeAssign, WsAttributeAssignValue[] values, java.lang.String assignmentNotes, java.sql.Timestamp assignmentEnabledTime, java.sql.Timestamp assignmentDisabledTime, AttributeAssignDelegatable delegatable, AttributeAssignValueOperation attributeAssignValueOperation)
wsAssignAttributeResult
- attributeAssign
- values
- assignmentNotes
- assignmentEnabledTime
- assignmentDisabledTime
- delegatable
- attributeAssignValueOperation
- public static void assignAttributesHelper(AttributeAssignType attributeAssignType, WsAttributeDefNameLookup[] wsAttributeDefNameLookups, AttributeAssignOperation attributeAssignOperation, WsAttributeAssignValue[] values, java.lang.String assignmentNotes, java.sql.Timestamp assignmentEnabledTime, java.sql.Timestamp assignmentDisabledTime, AttributeAssignDelegatable delegatable, AttributeAssignValueOperation attributeAssignValueOperation, WsAttributeAssignLookup[] wsAttributeAssignLookups, WsGroupLookup[] wsOwnerGroupLookups, WsStemLookup[] wsOwnerStemLookups, WsSubjectLookup[] wsOwnerSubjectLookups, WsMembershipLookup[] wsOwnerMembershipLookups, WsMembershipAnyLookup[] wsOwnerMembershipAnyLookups, WsAttributeDefLookup[] wsOwnerAttributeDefLookups, WsAttributeAssignLookup[] wsOwnerAttributeAssignLookups, java.lang.String[] actions, boolean includeSubjectDetail, java.lang.String[] subjectAttributeNames, boolean includeGroupDetail, WsAssignAttributesResults wsAssignAttributesResults, GrouperSession session, WsParam[] params, TypeOfGroup typeOfGroup, AttributeDefType attributeDefType, WsAttributeDefLookup[] attributeDefsToReplace, java.lang.String[] actionsToReplace, java.lang.String[] attributeDefTypesToReplace, java.lang.Boolean disallowed, boolean tallyResults, java.lang.String[] backReferenceAttributeAssignIds)
attributeAssignType
- wsAttributeDefNameLookups
- attributeAssignOperation
- values
- assignmentNotes
- assignmentEnabledTime
- assignmentDisabledTime
- delegatable
- attributeAssignValueOperation
- wsAttributeAssignLookups
- wsOwnerGroupLookups
- wsOwnerStemLookups
- wsOwnerSubjectLookups
- wsOwnerMembershipLookups
- wsOwnerMembershipAnyLookups
- wsOwnerAttributeDefLookups
- wsOwnerAttributeAssignLookups
- actions
- includeSubjectDetail
- subjectAttributeNames
- includeGroupDetail
- wsAssignAttributesResults
- session
- params
- typeOfGroup
- attributeDefType
- attributeDefsToReplace
- if replacing attributeDefNames, then these
are the related attributeDefs, if blank, then just do allactionsToReplace
- if replacing attributeDefNames, then these are the
related actions, if blank, then just do allattributeDefTypesToReplace
- if replacing attributeDefNames, then these are the
related attributeDefTypes, if blank, then just do alldisallowed
- is disallowedtallyResults
- true to tally results, false to notbackReferenceAttributeAssignIds
- if batch attribute assignments, then these are backreference idspublic static java.lang.String[] retrieveAttributeDefTypesForReplace(java.lang.String wsAttributeDefNameName, java.lang.String wsAttributeDefNameId, AttributeAssignOperation attributeAssignOperation)
wsAttributeDefNameName
- wsAttributeDefNameId
- attributeAssignOperation
- attributeDefTypesToReplace
- public static WsAttributeDefLookup[] retrieveAttributeDefsForReplace(java.lang.String wsAttributeDefNameName, java.lang.String wsAttributeDefNameId, AttributeAssignOperation attributeAssignOperation)
wsAttributeDefNameName
- wsAttributeDefNameId
- attributeAssignOperation
- attributeDefTypesToReplace
-