|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bowstreet.profiles.NamedObject
com.bowstreet.profiles.ProfileSetDescription
public class ProfileSetDescription
Class to hold description and name information for a ProfileSet. This is used when getting a list of ProfileSet form the ProfileSetManager so we can just return metadata and not the entire ProfileSet.
ProfileSet
,
Serialized FormField Summary |
---|
Fields inherited from interface com.bowstreet.profiles.IProfileDefines |
---|
CURRENT_CUSTOM_VALUE_PSET, CUSTOM_VALUE_MAP_KEY, DEFAULT, DESCRIPTION, EDIT_STATUS, EDITABLE, EFFECTS_CHILD, emptyIterator, ENTRIES, ENTRY, EXTRA_DATA, FALSE, FINAL_LOCKED, FINAL_LOCKED_STR, INHERITED_FROM, INHERITED_LOCKED, INHERITED_LOCKED_STR, IS_CONTAINER, IS_FINAL, IS_INHERITED, IS_RUNTIME, LAST_MODIFIED, LAST_MODIFIED_BY, MODEL, MODELS, NAME, PARENT, PC_ALREADY_CONVERTED, PC_INVALID_DATA, PC_NO_PROFILE, PC_OK, PROFILE, PROFILE_ATTR, PROFILE_DEF, PROFILE_SET, PROFILE_SET_MAP_PREVIEW_KEY, PROFILED, PROFILES, PROMPT, ROLE, ROLE_SELECTION_CLASS, ROLES, TRUE, TYPE, UI, USE_FULL_NAMES, VALUE, VALUE_CLASS, VALUES |
Constructor Summary | |
---|---|
ProfileSetDescription(java.lang.String strName,
java.lang.String strDescription,
long lastTimeModified,
java.lang.String strLastModifiedBy)
Constructs a ProfileSetDescription with the specified description information. |
Method Summary | |
---|---|
IXml |
getAsIXml(boolean getAll)
Currently does nothing. |
java.lang.String |
getDescription()
Gets the description data of this ProfileSet. |
java.lang.String |
getLastModifiedBy()
Gets the name of the user who last modified this ProfileSet. |
long |
getLastTimeModified()
Gets the last time this ProfileSet was modified. |
void |
setDescription(java.lang.String strDescription)
Sets the description field of this Profile Set. |
void |
setFromIXml(IXml tdData)
Currently does nothing. |
void |
setLastModifiedBy(java.lang.String strLastModifiedBy)
Sets the name of the user who last modified this ProfileSet. |
void |
setLastTimeModified(long lastTimeModified)
Sets the last time this ProfileSet was modified. |
void |
setUseQualifiedProfileNames(boolean useQualifiedProfileNames)
Sets if this profile set should be using full names (e.g. bowstreet.hr.foo). |
java.lang.String |
toString()
Gets a string representation of this description for debugging. |
void |
update(com.bowstreet.profiles.IXmlDataAccess item)
Updates from an existing ProfileSetDescription. |
boolean |
useQualifiedProfileNames()
Checks if this profile set should be using full names (e.g. bowstreet.hr.foo). |
Methods inherited from class com.bowstreet.profiles.NamedObject |
---|
clone, equals, getName, setName |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProfileSetDescription(java.lang.String strName, java.lang.String strDescription, long lastTimeModified, java.lang.String strLastModifiedBy)
strName
- The ProfileSet name.strDescription
- The ProfileSet description.lastTimeModified
- The last time the ProfileSet was modified.strLastModifiedBy
- The name of who last modified the ProfileSet.Method Detail |
---|
public IXml getAsIXml(boolean getAll) throws ProfileException
getAll
- true to get all of the calculated inherited data, else false.
ProfileException
IXml
public java.lang.String getDescription()
public java.lang.String getLastModifiedBy()
public long getLastTimeModified()
public void setDescription(java.lang.String strDescription)
strDescription
- The description to set on this ProfileSet.public void setFromIXml(IXml tdData) throws ProfileException
tdData
- The IXml representation of a ProfileSetDescription.
ProfileException
IXml
public void setLastModifiedBy(java.lang.String strLastModifiedBy)
strLastModifiedBy
- The name of the user last modified this ProfileSet.public void setLastTimeModified(long lastTimeModified)
lastTimeModified
- The last time this ProfileSet was modified.public void setUseQualifiedProfileNames(boolean useQualifiedProfileNames)
useQualifiedProfileNames
- true if this profile set should be using full names (e.g. bowstreet.hr.foo), else false.public java.lang.String toString()
toString
in class java.lang.Object
public void update(com.bowstreet.profiles.IXmlDataAccess item)
update
in interface com.bowstreet.profiles.IXmlDataAccess
update
in class NamedObject
item
- The IXmlDataAccess, which must be a ProfileSetDescription.public boolean useQualifiedProfileNames()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |