Enum PermaLinkPurpose
- java.lang.Object
- 
- java.lang.Enum<PermaLinkPurpose>
- 
- com.redwood.scheduler.api.model.enumeration.PermaLinkPurpose
 
 
- 
- All Implemented Interfaces:
- BaseSchedulerEnumeration<PermaLinkPurpose,Integer>,- SchedulerIntegerEnumeration<PermaLinkPurpose>,- Serializable,- Comparable<PermaLinkPurpose>
 
 public enum PermaLinkPurpose extends Enum<PermaLinkPurpose> implements SchedulerIntegerEnumeration<PermaLinkPurpose> The page type to be opened by a perma link. (Integer Enumeration)
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description AuditTrailLink will open a show page with the audit trail visibleCreateLink will open a create pageDiagramLink will open diagramDocumentationLink will open a page in the product documentationEditLink will open an edit pageExecuteLink will execute an actionListLink will open a overview pageOutputLink will open File outputSearchLink will open the searched objectShowLink will open a show pageSubmitLink will open the submit pageSupportLink will open a in-product support edit pageWizardLink will open wizard
 - 
Field SummaryFields Modifier and Type Field Description static intAuditTrailCodeThe int returned from AuditTrail.getCodeEx().static intCreateCodeThe int returned from Create.getCodeEx().static intDiagramCodeThe int returned from Diagram.getCodeEx().static intDocumentationCodeThe int returned from Documentation.getCodeEx().static intEditCodeThe int returned from Edit.getCodeEx().static intExecuteCodeThe int returned from Execute.getCodeEx().static intListCodeThe int returned from List.getCodeEx().static intOutputCodeThe int returned from Output.getCodeEx().static intSearchCodeThe int returned from Search.getCodeEx().static intShowCodeThe int returned from Show.getCodeEx().static intSubmitCodeThe int returned from Submit.getCodeEx().static intSupportCodeThe int returned from Support.getCodeEx().static intWizardCodeThe int returned from Wizard.getCodeEx().
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCodeEx()Get the code that is used to represent this enumeration in the database.IntegergetCodeExInteger()Get the code that is used to represent this enumeration in the database.IntegergetCodeExValue()Return the code for the enumeration item as the database type of this enumeration.StringgetDescriptionKey()Get the translation-key for the description that must be used to retrieve the locale-specific description of this enumeration.StringgetStringValue()StringgetTranslationEN()Get the English name of this enumeration.StringgetTranslationKey()Get the translation-key that must be used to retrieve the locale-specific name of this enumeration.static PermaLinkPurposesafeValueOf(String value)Helper function to return the PermaLinkPurpose represented byvalue.static PermaLinkPurposevalueOf(int code)Helper function to return the PermaLinkPurpose represented by code.static PermaLinkPurposevalueOf(Integer code)Helper function to return the PermaLinkPurpose represented by code.static PermaLinkPurposevalueOf(String name)Returns the enum constant of this type with the specified name.static PermaLinkPurposevalueOfCode(String code)Helper function to return the PermaLinkPurpose represented by code.static PermaLinkPurpose[]values()Returns an array containing the constants of this enum type, in the order they are declared.- 
Methods inherited from class java.lang.Enumclone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 - 
Methods inherited from interface com.redwood.scheduler.api.model.enumeration.BaseSchedulerEnumerationname, ordinal
 - 
Methods inherited from interface java.lang.ComparablecompareTo
 
- 
 
- 
- 
- 
Enum Constant Detail- 
Showpublic static final PermaLinkPurpose Show Link will open a show page
 - 
Editpublic static final PermaLinkPurpose Edit Link will open an edit page
 - 
Listpublic static final PermaLinkPurpose List Link will open a overview page
 - 
Createpublic static final PermaLinkPurpose Create Link will open a create page
 - 
Submitpublic static final PermaLinkPurpose Submit Link will open the submit page
 - 
Outputpublic static final PermaLinkPurpose Output Link will open File output
 - 
Diagrampublic static final PermaLinkPurpose Diagram Link will open diagram
 - 
Wizardpublic static final PermaLinkPurpose Wizard Link will open wizard
 - 
Executepublic static final PermaLinkPurpose Execute Link will execute an action
 - 
Supportpublic static final PermaLinkPurpose Support Link will open a in-product support edit page
 - 
AuditTrailpublic static final PermaLinkPurpose AuditTrail Link will open a show page with the audit trail visible
 - 
Documentationpublic static final PermaLinkPurpose Documentation Link will open a page in the product documentation
 - 
Searchpublic static final PermaLinkPurpose Search Link will open the searched object
 
- 
 - 
Field Detail- 
ShowCodepublic static final int ShowCode The int returned from Show.getCodeEx().- See Also:
- Show, Constant Field Values
 
 - 
EditCodepublic static final int EditCode The int returned from Edit.getCodeEx().- See Also:
- Edit, Constant Field Values
 
 - 
ListCodepublic static final int ListCode The int returned from List.getCodeEx().- See Also:
- List, Constant Field Values
 
 - 
CreateCodepublic static final int CreateCode The int returned from Create.getCodeEx().- See Also:
- Create, Constant Field Values
 
 - 
SubmitCodepublic static final int SubmitCode The int returned from Submit.getCodeEx().- See Also:
- Submit, Constant Field Values
 
 - 
OutputCodepublic static final int OutputCode The int returned from Output.getCodeEx().- See Also:
- Output, Constant Field Values
 
 - 
DiagramCodepublic static final int DiagramCode The int returned from Diagram.getCodeEx().- See Also:
- Diagram, Constant Field Values
 
 - 
WizardCodepublic static final int WizardCode The int returned from Wizard.getCodeEx().- See Also:
- Wizard, Constant Field Values
 
 - 
ExecuteCodepublic static final int ExecuteCode The int returned from Execute.getCodeEx().- See Also:
- Execute, Constant Field Values
 
 - 
SupportCodepublic static final int SupportCode The int returned from Support.getCodeEx().- See Also:
- Support, Constant Field Values
 
 - 
AuditTrailCodepublic static final int AuditTrailCode The int returned from AuditTrail.getCodeEx().- See Also:
- AuditTrail, Constant Field Values
 
 - 
DocumentationCodepublic static final int DocumentationCode The int returned from Documentation.getCodeEx().- See Also:
- Documentation, Constant Field Values
 
 - 
SearchCodepublic static final int SearchCode The int returned from Search.getCodeEx().- See Also:
- Search, Constant Field Values
 
 
- 
 - 
Method Detail- 
valuespublic static PermaLinkPurpose[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PermaLinkPurpose c : PermaLinkPurpose.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static PermaLinkPurpose valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
getStringValuepublic String getStringValue() 
 - 
valueOfCodepublic static PermaLinkPurpose valueOfCode(String code) Helper function to return the PermaLinkPurpose represented by code. If code is null, empty, or not a valid code then this method will return null.- Parameters:
- code- A string that is one of the codes for PermaLinkPurpose
- Returns:
- The PermaLinkPurpose corresponding to code, or null.
 
 - 
safeValueOfpublic static PermaLinkPurpose safeValueOf(String value) Helper function to return the PermaLinkPurpose represented byvalue. Ifvalueis null, or not a valid PermaLinkPurpose enumeration then this method will return null.The main difference between this method and valueOf(String), is that this method will return null when passed an invalidvalue,valueOf(String)will throw anIllegalArgumentException.- Parameters:
- value- The string value that corresponds to the requested enumeration value
- Returns:
- The PermaLinkPurpose corresponding to value, or null, ifvalueis null, or not a valid enumeration
- See Also:
- valueOf(String)
 
 - 
valueOfpublic static PermaLinkPurpose valueOf(Integer code) Helper function to return the PermaLinkPurpose represented by code. If code is null, or not a valid PermaLinkPurpose code then this method will return null.- Parameters:
- code- Integer that is one of the codes for HandlerAction
- Returns:
- The PermaLinkPurpose corresponding to code, or null, if code is null, or not a valid code
 
 - 
valueOfpublic static PermaLinkPurpose valueOf(int code) Helper function to return the PermaLinkPurpose represented by code. If code is not a valid PermaLinkPurpose code then this method will return null.- Parameters:
- code- char that is one of the codes for HandlerAction
- Returns:
- The PermaLinkPurpose corresponding to code, or null, if code is not a valid code
 
 - 
getCodeExpublic int getCodeEx() Description copied from interface:SchedulerIntegerEnumerationGet the code that is used to represent this enumeration in the database.- Specified by:
- getCodeExin interface- SchedulerIntegerEnumeration<PermaLinkPurpose>
- Returns:
- the database code for the enumeration
 
 - 
getCodeExValuepublic Integer getCodeExValue() Description copied from interface:BaseSchedulerEnumerationReturn the code for the enumeration item as the database type of this enumeration.- Specified by:
- getCodeExValuein interface- BaseSchedulerEnumeration<PermaLinkPurpose,Integer>
- Returns:
- the enumeration code
 
 - 
getCodeExIntegerpublic Integer getCodeExInteger() Description copied from interface:SchedulerIntegerEnumerationGet the code that is used to represent this enumeration in the database.- Specified by:
- getCodeExIntegerin interface- SchedulerIntegerEnumeration<PermaLinkPurpose>
- Returns:
- the database code for the enumeration
 
 - 
getTranslationKeypublic String getTranslationKey() Description copied from interface:BaseSchedulerEnumerationGet the translation-key that must be used to retrieve the locale-specific name of this enumeration.- Specified by:
- getTranslationKeyin interface- BaseSchedulerEnumeration<PermaLinkPurpose,Integer>
- Returns:
- the key.
 
 - 
getTranslationENpublic String getTranslationEN() Description copied from interface:BaseSchedulerEnumerationGet the English name of this enumeration.- Specified by:
- getTranslationENin interface- BaseSchedulerEnumeration<PermaLinkPurpose,Integer>
- Returns:
- the English name of this enumeration.
 
 - 
getDescriptionKeypublic String getDescriptionKey() Description copied from interface:BaseSchedulerEnumerationGet the translation-key for the description that must be used to retrieve the locale-specific description of this enumeration.- Specified by:
- getDescriptionKeyin interface- BaseSchedulerEnumeration<PermaLinkPurpose,Integer>
- Returns:
- the key that can be passed to
         SchedulerSession.translateField(String)to retrieve the translated description.
 
 
- 
 
-