com.dotmarketing.portlets.structure.factories
Class StructureFactory
java.lang.Object
com.dotmarketing.portlets.structure.factories.StructureFactory
public class StructureFactory
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StructureFactory
public StructureFactory()
getStructureByInode
public static Structure getStructureByInode(long inode)
getStructureByInode
public static Structure getStructureByInode(java.lang.String inode)
getStructureByType
public static Structure getStructureByType(java.lang.String type)
getStructureByInodeNoLock
public static Structure getStructureByInodeNoLock(long inode)
getDefaultStructure
public static Structure getDefaultStructure()
getStructures
public static java.util.List getStructures()
getStructuresWithWritePermissions
public static java.util.List<Structure> getStructuresWithWritePermissions(User user)
getStructuresWithReadPermissions
public static java.util.List<Structure> getStructuresWithReadPermissions(User user)
getStructures
public static java.util.List getStructures(int limit)
getStructures
public static java.util.List<Structure> getStructures(java.lang.String orderBy,
int limit)
saveStructure
public static void saveStructure(Structure structure)
deleteStructure
public static void deleteStructure(long inode)
deleteStructure
public static void deleteStructure(Structure structure)
disableDefault
public static void disableDefault()
getTotalDates
public static int getTotalDates(Structure structure)
getTotalImages
public static int getTotalImages(Structure structure)
getTotalFiles
public static int getTotalFiles(Structure structure)
getTotalLinks
public static int getTotalLinks(Structure structure)
getTotalTextAreas
public static int getTotalTextAreas(Structure structure)
getTotalWYSIWYG
public static int getTotalWYSIWYG(Structure structure)
getTotals
public static int getTotals(Structure structure,
java.lang.String typeField)
createDefaultStructure
public static void createDefaultStructure()
- Create the default cms contentlet structure
Copyright © 2006 Dotmarketing, Inc. All Rights Reserved.