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
public class PostFile extends PostFile_Base implements Comparable<PostFile>, Wrappable, Cloneable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classPostFile.PostFileWrap
-
Field Summary
Fields Modifier and Type Field Description static Comparator<PostFile>NAME_COMPARATORstatic StringSIGNAL_CREATEDstatic StringSIGNAL_DELETEDstatic StringSIGNAL_EDITED
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PostFileclone(CloneCache cloneCache)intcompareTo(PostFile o)voiddelete()StringgetEditUrl()WrapmakeWrap()voidsetIsEmbedded(boolean isEmbedded)-
Methods inherited from class org.fenixedu.cms.domain.PostFile_Base
getFiles, getIndex, getIsEmbedded, getPost, getRelationFileHasPostFiles, getRelationFilePostFile, getRelationPostHasPostFiles, getSite, setFiles, setIndex, setPost, setSite
-
-
-
-
Field Detail
-
SIGNAL_CREATED
public static final String SIGNAL_CREATED
- See Also:
- Constant Field Values
-
SIGNAL_DELETED
public static final String SIGNAL_DELETED
- See Also:
- Constant Field Values
-
SIGNAL_EDITED
public static final String SIGNAL_EDITED
- See Also:
- Constant Field Values
-
NAME_COMPARATOR
public static final Comparator<PostFile> NAME_COMPARATOR
-
-
Constructor Detail
-
PostFile
public PostFile(Post post, org.fenixedu.bennu.io.domain.GroupBasedFile file, boolean isEmbedded, int index)
-
-
Method Detail
-
clone
public PostFile clone(CloneCache cloneCache)
-
setIsEmbedded
public void setIsEmbedded(boolean isEmbedded)
- Overrides:
setIsEmbeddedin classPostFile_Base
-
compareTo
public int compareTo(PostFile o)
- Specified by:
compareToin interfaceComparable<PostFile>
-
delete
public void delete()
-
getEditUrl
public String getEditUrl()
-
-