Package org.fenixedu.cms.domain
Class PostFile
java.lang.Object
pt.ist.fenixframework.core.AbstractDomainObject
org.fenixedu.cms.domain.PostFile_Base
org.fenixedu.cms.domain.PostFile
- All Implemented Interfaces:
Serializable,Comparable<PostFile>,Cloneable,Wrappable,pt.ist.fenixframework.DomainObject
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class pt.ist.fenixframework.core.AbstractDomainObject
pt.ist.fenixframework.core.AbstractDomainObject.SerializedForm -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Comparator<PostFile>static final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone(CloneCache cloneCache) intvoiddelete()makeWrap()voidsetIsEmbedded(boolean isEmbedded) Methods inherited from class org.fenixedu.cms.domain.PostFile_Base
getFiles, getIndex, getIsEmbedded, getPost, getRelationFileHasPostFiles, getRelationFilePostFile, getRelationPostHasPostFiles, getSite, setFiles, setIndex, setPost, setSiteMethods inherited from class pt.ist.fenixframework.core.AbstractDomainObject
checkForDeletionBlockers, deleteDomainObject, ensureOid, equals, getDeletionBlockers, getDomainModel, getExternalId, getOid, hashCode, init$Instance, makeSerializedForm, toString, writeReplace
-
Field Details
-
SIGNAL_CREATED
- See Also:
-
SIGNAL_DELETED
- See Also:
-
SIGNAL_EDITED
- See Also:
-
NAME_COMPARATOR
-
-
Constructor Details
-
PostFile
public PostFile(Post post, org.fenixedu.bennu.io.domain.GroupBasedFile file, boolean isEmbedded, int index)
-
-
Method Details
-
clone
-
setIsEmbedded
public void setIsEmbedded(boolean isEmbedded) - Overrides:
setIsEmbeddedin classPostFile_Base
-
compareTo
- Specified by:
compareToin interfaceComparable<PostFile>
-
delete
public void delete() -
getEditUrl
-
makeWrap
-