|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.eff.EffGroupAssistant
public class EffGroupAssistant
Assistant for getting EffGroups, converting EffRanges
to and from Strings, and adding the Effs associated
to EffManagedVersions to EffGroups.
Provides client- and server-side APIs to assign Effs to
EffManagedVersions. This assistant provides a client/customization-friendly
API to work with Effs without interacting with the data
model directly.
Supported API: true
Extendable: false
EffGroupAssistantEvent,
EffGroupRangeDelegate,
Serialized Form| Method Summary | |
|---|---|
static EffRecordable[] |
appendEffGroups(EffRecordable[] effRecordables,
EffGroup[] effGroups)
Adds the EffGroups to each of the EffManagedVersions. |
static EffRecordable[] |
appendEffGroups(EffRecordable[] effRecordables,
EffGroup[] effGroups,
ChangeActivityIfc authorizedBy)
Adds the EffGroups to each of the EffManagedVersions. |
static EffRecordable[] |
appendEffGroupsQuietly(EffRecordable[] effRecordables,
EffGroup[] effGroups)
Adds the EffGroups to each of the EffManagedVersions. |
static EffRecordable[] |
appendEffGroupsQuietly(EffRecordable[] effRecordables,
EffGroup[] effGroups,
ChangeActivityIfc authorizedBy)
Adds the EffGroups to each of the EffManagedVersions. |
static EffRecordable |
appendEffVector(EffRecordable effRecordable)
Adds the effectivities represented by the EffGroups in the effVector to the EffManagedVersion. |
static EffRecordable[] |
appendEffVector(EffRecordable[] effRecordables)
Adds the effectivities represented by the EffGroups in the effVector to the EffManagedVersions. |
static EffRecordable[] |
appendEffVector(EffRecordable[] effRecordables,
ChangeActivityIfc authorizedBy)
Adds the effectivities represented by the EffGroups in the effVector to the EffManagedVersions. |
static EffRecordable |
appendEffVector(EffRecordable effRecordable,
ChangeActivityIfc authorizedBy)
Adds the effectivities represented by the EffGroups in the effVector to the EffManagedVersion. |
static EffRecordable[] |
appendEffVectorQuietly(EffRecordable[] effRecordables)
Adds the effectivities represented by the EffGroups in the effVector to the EffManagedVersions. |
static EffRecordable[] |
appendEffVectorQuietly(EffRecordable[] effRecordables,
ChangeActivityIfc authorizedBy)
Adds the effectivities represented by the EffGroups in the effVector to the EffManagedVersions. |
static String |
effRangesToRange(EffRange[] effRanges)
Converts an array of EffRanges to a string representation of them. |
static String |
getDash()
Gets the value of the attribute: dash; The string value representing the dash for the range. |
static Map<WTReference,Collection<EffGroup>> |
getEffGroups(Collection<WTReference> recordableReferences)
Retrieves EffGroup objects for the passed in EffRecordable
references. |
static String |
getSeparator()
Gets the value of the attribute: separator; The string value representing the separator for the range. |
static EffGroup[] |
getValidEffGroups(EffContext effContext)
Gets all the EffGroups (based on the valid Effs) for this context, and assigns the contex to it. |
static EffGroup[] |
getValidEffGroups(EffManagedVersion target,
EffContext effContext)
Gets all the EffGroups (based on the valid Effs) for this context, and assigns the context and the version to it. |
static EffRecordable |
populateEffVector(EffRecordable effRecordable)
Populate the effVector of the EffManagedVersion by querying the database for all the version's effectivities and converting them to EffGroups. |
static EffRecordable[] |
populateEffVector(EffRecordable[] effRecordables)
Populate the effVectors of the EffManagedVersions by querying the database for all the version's effectivities and converting them to EffGroups. |
static EffRecordable[] |
populateEffVectorWithoutRefreshing(EffRecordable[] effRecordables)
Populate the effVectors of the EffManagedVersions by querying the database for all the version's effectivities and converting them to EffGroups. |
static EffRange[] |
rangeToEffRanges(Class effRange,
String range)
Converts a range to an array of EffRanges. |
static EffRecordable |
replaceEffVector(EffRecordable effRecordable)
Replaces the current effectivities stored in the DB for this EffManagedVersion with the effectivities represented in the EffGroups in the effVector. |
static EffRecordable[] |
replaceEffVector(EffRecordable[] effRecordables)
Replaces the current effectivities stored in the DB for these EffManagedVersions with the effectivities represented in the EffGroups in the effVector. |
static EffRecordable[] |
replaceEffVector(EffRecordable[] effRecordables,
ChangeActivityIfc authorizedBy)
Replaces the current effectivities stored in the DB for these EffManagedVersions with the effectivities represented in the EffGroups in the effVector. |
static EffRecordable |
replaceEffVector(EffRecordable effRecordable,
ChangeActivityIfc authorizedBy)
Replaces the current effectivities stored in the DB for this EffManagedVersion with the effectivities represented in the EffGroups in the effVector. |
static EffRecordable[] |
replaceEffVectorQuietly(EffRecordable[] effRecordables)
Replaces the current effectivities stored in the DB for these EffManagedVersions with the effectivities represented in the EffGroups in the effVector. |
static EffRecordable[] |
replaceEffVectorQuietly(EffRecordable[] effRecordables,
ChangeActivityIfc authorizedBy)
Replaces the current effectivities stored in the DB for these EffManagedVersions with the effectivities represented in the EffGroups in the effVector. |
static void |
validateRange(Class effRange,
String range)
Validates the range. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String getSeparator()
effResourcepublic static String getDash()
effResource
public static EffGroup[] getValidEffGroups(EffManagedVersion target,
EffContext effContext)
target - effContext -
public static EffGroup[] getValidEffGroups(EffContext effContext)
effContext -
public static EffRange[] rangeToEffRanges(Class effRange,
String range)
throws WTPropertyVetoException
effRange - range -
WTPropertyVetoExceptionEffGroupRangeDelegate
public static String effRangesToRange(EffRange[] effRanges)
throws WTPropertyVetoException
effRanges -
WTPropertyVetoExceptionEffGroupRangeDelegate
public static void validateRange(Class effRange,
String range)
throws WTPropertyVetoException
effRange - range -
WTPropertyVetoExceptionEffGroupRangeDelegate
public static EffRecordable populateEffVector(EffRecordable effRecordable)
throws WTException
effRecordable -
WTException
public static EffRecordable[] populateEffVector(EffRecordable[] effRecordables)
throws WTException
effRecordables -
WTException
public static EffRecordable replaceEffVector(EffRecordable effRecordable,
ChangeActivityIfc authorizedBy)
throws WTException
Dispatches EffGroupAssistantEvent's PRE_REPLACE_EFF_VECTOR and POST_REPLACE_EFF_VECTOR.
effRecordable - authorizedBy -
WTExceptionEffGroupAssistantEvent
public static EffRecordable[] replaceEffVector(EffRecordable[] effRecordables,
ChangeActivityIfc authorizedBy)
throws WTException
Dispatches EffGroupAssistantEvent's PRE_REPLACE_EFF_VECTOR and POST_REPLACE_EFF_VECTOR.
effRecordables - authorizedBy -
WTExceptionEffGroupAssistantEvent
public static EffRecordable appendEffVector(EffRecordable effRecordable,
ChangeActivityIfc authorizedBy)
throws WTException
Dispatches EffGroupAssistantEvent's PRE_APPEND_EFF_VECTOR and POST_APPEND_EFF_VECTOR.
effRecordable - authorizedBy -
WTExceptionEffGroupAssistantEvent
public static EffRecordable[] appendEffVector(EffRecordable[] effRecordables,
ChangeActivityIfc authorizedBy)
throws WTException
Emits EffGroupAssistantEvent's PRE_APPEND_EFF_VECTOR and POST_APPEND_EFF_VECTOR.
effRecordables - authorizedBy -
WTExceptionEffGroupAssistantEvent
public static EffRecordable[] appendEffGroups(EffRecordable[] effRecordables,
EffGroup[] effGroups,
ChangeActivityIfc authorizedBy)
throws WTException
Emits EffGroupAssistantEvent's PRE_APPEND_EFF_GROUPS and POST_APPEND_EFF_GROUPS.
effRecordables - effGroups - authorizedBy -
WTExceptionEffGroupAssistantEvent
public static EffRecordable[] populateEffVectorWithoutRefreshing(EffRecordable[] effRecordables)
throws WTException
effRecordables -
WTException
public static EffRecordable[] replaceEffVectorQuietly(EffRecordable[] effRecordables,
ChangeActivityIfc authorizedBy)
throws WTException
No events are emitted by this call.
effRecordables - authorizedBy -
WTException
public static EffRecordable[] appendEffVectorQuietly(EffRecordable[] effRecordables,
ChangeActivityIfc authorizedBy)
throws WTException
No events are emitted by this call.
effRecordables - authorizedBy -
WTException
public static EffRecordable[] appendEffGroupsQuietly(EffRecordable[] effRecordables,
EffGroup[] effGroups,
ChangeActivityIfc authorizedBy)
throws WTException
No events are emitted by this call.
effRecordables - effGroups - authorizedBy -
WTException
public static EffRecordable replaceEffVector(EffRecordable effRecordable)
throws WTException
Dispatches EffGroupAssistantEvent's PRE_REPLACE_EFF_VECTOR and POST_REPLACE_EFF_VECTOR.
effRecordable -
WTExceptionEffGroupAssistantEvent
public static EffRecordable[] replaceEffVector(EffRecordable[] effRecordables)
throws WTException
Dispatches EffGroupAssistantEvent's PRE_REPLACE_EFF_VECTOR and POST_REPLACE_EFF_VECTOR.
effRecordables -
WTExceptionEffGroupAssistantEvent
public static EffRecordable appendEffVector(EffRecordable effRecordable)
throws WTException
Dispatches EffGroupAssistantEvent's PRE_APPEND_EFF_VECTOR and POST_APPEND_EFF_VECTOR.
effRecordable -
WTExceptionEffGroupAssistantEvent
public static EffRecordable[] appendEffVector(EffRecordable[] effRecordables)
throws WTException
Emits EffGroupAssistantEvent's PRE_APPEND_EFF_VECTOR and POST_APPEND_EFF_VECTOR.
effRecordables -
WTExceptionEffGroupAssistantEvent
public static EffRecordable[] appendEffGroups(EffRecordable[] effRecordables,
EffGroup[] effGroups)
throws WTException
Emits EffGroupAssistantEvent's PRE_APPEND_EFF_GROUPS and POST_APPEND_EFF_GROUPS.
effRecordables - effGroups -
WTExceptionEffGroupAssistantEvent
public static EffRecordable[] replaceEffVectorQuietly(EffRecordable[] effRecordables)
throws WTException
No events are emitted by this call.
effRecordables -
WTException
public static EffRecordable[] appendEffVectorQuietly(EffRecordable[] effRecordables)
throws WTException
No events are emitted by this call.
effRecordables -
WTException
public static EffRecordable[] appendEffGroupsQuietly(EffRecordable[] effRecordables,
EffGroup[] effGroups)
throws WTException
No events are emitted by this call.
effRecordables - effGroups -
WTException
public static Map<WTReference,Collection<EffGroup>> getEffGroups(Collection<WTReference> recordableReferences)
throws WTException
EffGroup objects for the passed in EffRecordable
references.
Supported API: true
recordableReferences - References to EffRecordable objects to retreive groups for.
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||