|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.projmgmt.util.ProjMgmtAuditHelper
This class encapsulates project management auditing functionality.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
Constructor Summary | |
ProjMgmtAuditHelper()
|
Method Summary | |
static void |
addProjLogin(WTPrincipalReference user_ref,
Project2 project)
Adds a project login event for a user and a project. |
static void |
addProjLogout(WTPrincipalReference user_ref,
Project2 project)
Adds the project logout event for a given user and project. |
static void |
addSysLogin(WTPrincipalReference user_ref)
Adds a system login event. |
private static void |
collectSubprojects(WTContainer context,
Vector sub_projects)
Recursively gathers all subcontainers of a project in a vector passed as argument. |
static Timestamp |
getLastProjLogin(WTPrincipalReference user_ref,
Project2 project)
Returns the time of the last user login to the project passed as argument. |
static Timestamp |
getLastSysLogin(WTPrincipalReference user_ref)
Returns the time of the last user system login. |
static Object[] |
getProjLoginReport(WTContainer context,
AuditPeriod period)
Returns a list of the logins to project for all projects in the WTContainer that happened in a time interval. |
static Object[] |
getSysLoginReport(AuditPeriod period)
Returns a list of the system logins for all projects in the Organization that happened in a time interval. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(ProjMgmtAuditHelper thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public ProjMgmtAuditHelper()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(ProjMgmtAuditHelper thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public static void addSysLogin(WTPrincipalReference user_ref) throws WTException
user_ref
-
WTException
public static void addProjLogin(WTPrincipalReference user_ref, Project2 project) throws WTException
user_ref
- project
-
WTException
public static void addProjLogout(WTPrincipalReference user_ref, Project2 project) throws WTException
user_ref
- project
-
WTException
public static Timestamp getLastProjLogin(WTPrincipalReference user_ref, Project2 project) throws WTException
user_ref
- project
-
WTException
public static Timestamp getLastSysLogin(WTPrincipalReference user_ref) throws WTException
user_ref
-
WTException
public static Object[] getProjLoginReport(WTContainer context, AuditPeriod period) throws WTException
context
- period
-
WTException
AuditEventInfo
public static Object[] getSysLoginReport(AuditPeriod period) throws WTException
period
-
WTException
AuditEventInfo
private static void collectSubprojects(WTContainer context, Vector sub_projects) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |