| java.lang.Object com.flexive.shared.content.FxPK com.flexive.shared.value.ReferencedContent
ReferencedContent | public class ReferencedContent extends FxPK implements Serializable(Code) | | A referenced content - value class for FxReference
author: Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) |
ReferencedContent | public ReferencedContent(FxPK pk, String caption, Step step, ACL acl)(Code) | | Ctor
Parameters: pk - referenced primary key Parameters: caption - caption of the referenced content, only available if loaded Parameters: step - the step Parameters: acl - the acl |
ReferencedContent | public ReferencedContent(FxPK pk)(Code) | | Ctor
Parameters: pk - referenced primary key |
ReferencedContent | public ReferencedContent(long id, int version)(Code) | | Ctor
Parameters: id - id Parameters: version - version |
ReferencedContent | public ReferencedContent(long id)(Code) | | Ctor
Parameters: id - id |
ReferencedContent | public ReferencedContent()(Code) | | Ctor
|
fromString | public static ReferencedContent fromString(String value)(Code) | | Evaluates the given string value to an object of type ReferencedContent.
Parameters: value - string value to be evaluated the value interpreted as ReferencedContent |
getAcl | public ACL getAcl()(Code) | | Get the ACL for this reference
ACL for this reference |
getCaption | public String getCaption()(Code) | | Get the caption of the referenced content, only available if loaded
caption of the referenced content, only available if loaded |
getContent | public synchronized FxContent getContent()(Code) | | Get the assigned FxContent for this reference
the assigned FxContent for this reference |
getStep | public Step getStep()(Code) | | Get the step for this reference
step of this reference |
hasACL | public boolean hasACL()(Code) | | Is an ACL known for this reference?
if an ACL is known for this reference |
hasContent | public boolean hasContent()(Code) | | Is a loaded FxContent assigned for this reference?
if a loaded FxContent is assigned for this reference |
hasStep | public boolean hasStep()(Code) | | Is a step known for this reference?
if a step is known for this reference |
hashCode | public int hashCode()(Code) | | |
isAccessGranted | public boolean isAccessGranted()(Code) | | Is access to the referenced FxContent granted?
if access to the referenced FxContent is granted |
setAccessGranted | public void setAccessGranted(boolean accessGranted)(Code) | | Set if (read) access to the referenced instance is granted.
This flag is usually set during creation of a ReferencedContent.
Setting it to true will not enable you to read the referenced content ;-)
Parameters: accessGranted - if access to the referenced content is granted |
setContent | public synchronized void setContent(FxContent content)(Code) | | Set the assigned FxContent for this reference
Parameters: content - the assigned FxContent for this reference |
|
|